<!--
<?php
print <<<EOT
-->
<script  src="$webdb[www_url]/images/health/js/city.js" type=text/javascript></script>
<SCRIPT LANGUAGE="JavaScript" src="$webdb[www_url]/images/health/js/My97DatePicker/WdatePicker.js"></SCRIPT>
<SCRIPT LANGUAGE = JavaScript>
var s=["atc_provice","atc_city"]; 
var opt0 = ["$lfjdb[a_area]","$lfjdb[b_area]"]; 
function setup() 
{ 
for(i=0;i<s.length-1;i++) 
document.getElementById(s[i]).onchange=new Function("change("+(i+1)+")"); 
change(0); 
}
</SCRIPT>
<style>
<!--
body{background:#E9EAEC;}
.divTop{margin-left:20px;width:724px;}
.divBottom{margin-left:20px;}
.divBottom .left{float:left;}
.divBottom .left .position{background:url($webdb[www_url]/images/health/images/xhx.jpg) no-repeat;width:656px;height:24px;font-size:12px;}
.divBottom table .tdLeft{text-align: right;padding-right:20px;height:25px;}

.MainTable{border:1px solid #6B54ED;background-color:#F0EEFD;}
.dragTable:first-child{background-color:white;}
-->
</style>

<div class="divTop"><img src="$webdb[www_url]/images/health/images/724.jpg" width="724" height="22" /></div>
<div class="divBottom">
	<div class="left"><img src="$webdb[www_url]/images/health/images/hong1.jpg" width="34" height="72" /></div>
	<div class="left">
		<div class="position">当前位置：资料修改</div>
		<div style="width:656px;height:14px;background:url($webdb[www_url]/images/health/images/14.jpg)"></div>
		<div style="width:656px;background:white;">
<!--
EOT;
if($job=='edit'){
print <<<EOT
-->
<script src="$webdb[www_url]/images/default/setday.js"></script>
<SCRIPT LANGUAGE="JavaScript">
<!--
var filed_id='';
var filed_name='';
function ckregdata(a,b){
	filed_id=a;
	filed_name=b;
}
function ckregdatapost(){
	id_array=filed_id.split(',');
	name_array=filed_name.split(',');
	for(var i=0;i<id_array.length;i++){
		if(id_array[i]!=''&&document.getElementById(id_array[i]).value==''){
			alert("“"+name_array[i]+'”不能为空');
			document.getElementById(id_array[i]).focus();
			return false;
		}
	}
}
//-->
</SCRIPT>

			<form name="form1" method="post" action="?job=edit&" enctype="multipart/form-data" onsubmit="return ckregdatapost();">
			<table border="0" cellspacing="3" cellpadding="2" style="font-size:13px;width:656px;">
			  <tr>
				<td class="tdLeft" width="25%">帐号:</td>
				<td> $lfjid</td>
			  </tr>
			  <tr>
			  	<td class="tdLeft">邮箱:</td>
			  	<td><input type="text" name="email" style="width:130px;" value="$lfjdb[email]" $ipunt_email> 忘记密码时,取回密码使用</td>
			  </tr>
			  <tr> 
				<td class="tdLeft">新密码:</td>
				<td><input type="password" name="password" style="width:130px;"></td>
			  </tr>
			  <tr> 
				<td class="tdLeft">重复输入密码:</td>
                <td><input type="password" name="password2" style="width:130px;"></td>
              </tr>
              <tr> 
                <td class="tdLeft">旧密码:</td>
                <td><input type="password" name="old_password" style="width:130px;"> (如果修改密码或邮箱,必须输入旧密码) </td>
              </tr>
			  <tr>
				<td class="tdLeft">企业名称:</td> 
				<td>
					<input type='text' size='30' name='postdb[company_name]' value='$lfjdb[company_name]' readonly style="background-color:#EEE;">
					<input type="hidden" size='30' name='postdb[tijian_kahao]' value='$lfjdb[tijian_kahao]'>
					<input type="hidden" size='30' name='postdb[tiyan_count]' value='$lfjdb[tiyan_count]'>
				</td>
			  </tr>
			  <tr>
				<td class="tdLeft">基本信息:</td> 
				<td><textarea name='postdb[basic_info]' cols='45' rows='5'>$lfjdb[basic_info]</textarea></td>
			  </tr>
			  <tr>
				<td class="tdLeft">行业:</td> 
				<td>
					<select name='postdb[trade]'>
						<option value='1' selected>住宿与餐饮业</option>
					</select>
				</td>
			  </tr>
				<tr> 
					<td class="tdLeft">规模:<br></td>
					<td >
						<select name='postdb[scale]'>
							<option value='0' {$scaleS['0']}>--请选择经营规模--</option>
							<option value='6' {$scaleS['6']}>500万以下</option>
							<option value='1' {$scaleS['1']}>500万-1000万</option>
							<option value='2' {$scaleS['2']}>1000万-2000万</option>
							<option value='3' {$scaleS['3']}>3000万-1亿</option>
							<option value='4' {$scaleS['4']}>1亿-3亿</option>
							<option value='5' {$scaleS['5']}>3亿以上</option>
						</select>
					</td>
				</tr>
				<tr> 
					<td class="tdLeft">企业性质:<br></td>
					<td >
						<select name='postdb[com_property]'>
							<option value='0' $property[0]>——请选择经营性质——</option>
					      	<option value='1' $property[1]>民营</option>
					      	<option value='2' $property[2]>国营</option>
					      	<option value='3' $property[3]>股份制</option>
					      	<option value='4' $property[4]>外资</option>
					      	<option value='5' $property[5]>合资</option>
						</select>
					</td> 
				</tr>
				<tr> 
					<td class="tdLeft">成立时间:<br></td> 
					<td ><input onclick="WdatePicker()" readonly type='text' name='postdb[create_time]' size='20' value='$lfjdb[create_time]'></td>
				</tr>
				<tr> 
					<td class="tdLeft">经营业态:<br></td> 
					<td >
						<input name="postdb[jingying_yetai]" type="radio" value="1" $yetai[1]/>中餐&nbsp;
		           		<input name="postdb[jingying_yetai]" type="radio" value="2" $yetai[2]/>快餐&nbsp;
		           		<input name="postdb[jingying_yetai]" type="radio" value="3" $yetai[3]/>西餐&nbsp;
		           		<input name="postdb[jingying_yetai]" type="radio" value="4" $yetai[4]/>火锅&nbsp;
		           		<input name="postdb[jingying_yetai]" type="radio" value="5" $yetai[5]/>酒店餐饮&nbsp;
		           		<input name="postdb[jingying_yetai]" type="radio" value="6" $yetai[6]/>休闲餐饮&nbsp;
		           		<input name="postdb[jingying_yetai]" type="radio" value="7" $yetai[7]/>团膳&nbsp;
		           		<input name="postdb[jingying_yetai]" type="radio" value="8" $yetai[8]/>其他&nbsp;
					</td>
				</tr>
				<tr> 
					<td class="tdLeft">经营模式:<br></td> 
					<td >
						<input name="postdb[jingying_moshi]" type="radio" value="1" $moshi[1]/>单店经营&nbsp;
		           		<input name="postdb[jingying_moshi]" type="radio" value="2" $moshi[2]/>在某一省（市）的多门店连锁经营 &nbsp;
		           		<input name="postdb[jingying_moshi]" type="radio" value="3" $moshi[3]/>跨区域的多门店连锁经营&nbsp;
		           		<input name="postdb[jingying_moshi]" type="radio" value="4" $moshi[4]/>多业态、跨区域的集团经营&nbsp;
					</td>
				</tr>
				<tr> 
					<td class="tdLeft">地区:<br></td> 
					<td >
						<select name="postdb[a_area]" style="border:1px solid #CCC; width:120px; " id="atc_provice">
		                	<option></option>
		               	</select>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
		               	<select name="postdb[b_area]" style="border:1px solid #CCC; width:120px; " id="atc_city">
		                	<option></option>
		               	</select>
					</td>
				</tr>
				<tr> 
					<td class="tdLeft">网址:<br></td> 
					<td ><input type='text' name='postdb[site_add]' size='30' value='$lfjdb[site_add]'></td>
				</tr>
				<tr> 
					<td class="tdLeft">联系人:<br></td> 
					<td ><input type='text' name='postdb[contacter]' size='30' value='$lfjdb[contacter]'></td>
				</tr>
				<tr> 
					<td class="tdLeft">是否已使用管理软件:<br></td> 
					<td >
						<input type='radio' style='border:0px' name='postdb[is_software]' value='0' {$is_softwareS['0']}>否
						<input type='radio' style='border:0px' name='postdb[is_software]' value='1' {$is_softwareS['1']}>是
					</td>
				</tr>
				<tr> 
					<td class="tdLeft">PC数量:<br></td> 
					<td ><input type='text' name='postdb[pc_count]' size='30' value='$lfjdb[pc_count]'></td>
				</tr>
				<tr> 
					<td class="tdLeft">是否拥有服务器:<br></td> 
					<td >
						<input type='radio' style='border:0px' name='postdb[is_fuwuqi]' value='0' {$is_fuwuqiS['0']}>否
						<input type='radio' style='border:0px' name='postdb[is_fuwuqi]' value='1' {$is_fuwuqiS['1']}>是
					</td>
				</tr>
				<tr> 
					<td class="tdLeft">IT技术人员数量:<br></td> 
					<td ><input type='text' name='postdb[it_count]' size='30' value='$lfjdb[it_count]'></td>
				</tr>
				<tr> 
					<td class="tdLeft">企业法人:<br></td> 
					<td ><input type='text' name='postdb[com_faren]' size='30' value='$lfjdb[com_faren]'></td>
				</tr>
				<tr> 
					<td class="tdLeft">企业法人联系电话:<br></td> 
					<td ><input type='text' name='postdb[faren_phone]' size='30' value='$lfjdb[faren_phone]'></td>
				</tr>
				<tr> 
					<td class="tdLeft">企业法人邮箱:<br></td> 
					<td ><input type='text' name='postdb[faren_email]' size='30' value='$lfjdb[faren_email]'></td>
				</tr>
				<tr>
					<td class="tdLeft">备注:<br></td>
					<td ><textarea name='postdb[note]' cols='45' rows='5'>$lfjdb[note]</textarea></td>
				</tr>
				<tr>
					<td class="tdLeft">联系地址:</td>
					<td><input type="text" name="address" style="width:250px;" value="$lfjdb[address]"></td>
				</tr>
				<tr> 
					<td class="tdLeft">联系手机:</td>
					<td> <input type="text" name="mobphone" style="width:130px;" value="$lfjdb[mobphone]" $ipunt_mob></td>
				</tr>
				<tr> 
					<td colspan="2" align="center">
						<input type="submit" name="Submit3" value="提 交" style="padding:7px 20px;border-left:0;margin-bottom:15px;margin-top:10px;"/>
						<input type="hidden" name="step" value="2">
					</td>
				</tr>
			  </table>
			  </form>
            
<!--
EOT;
}print <<<EOT
-->

		</div>
	</div>
	<div class="left"><img src="$webdb[www_url]/images/health/images/hong2.jpg" width="34" height="72" /></div>
</div>

<SCRIPT language="javascript">
setup();
parent.document.getElementById("member_mainiframe").height=document.body.scrollHeight;
</SCRIPT>
<!--
EOT;
?>
-->
